#ifndef PORTDIALOG_H
#define PORTDIALOG_H

#include <QDialog>
#include <QAbstractButton>

namespace Ui {
class PortDialog;
}

class PortDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PortDialog(QWidget *parent = nullptr);
    ~PortDialog();

    QString GetPort();

private slots:
    void on_buttonBox_clicked(QAbstractButton *button);

private:
    void InitData();

private:
    Ui::PortDialog *ui;
    QString m_sPort;
};

#endif // PORTDIALOG_H
